﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="edit.aspx.cs" Inherits="Web4Comment.edit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    
    <meta name="Generator" content="iWeb 3.0.4" />
    <meta name="iWeb-Build" content="local-build-20120101" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta name="viewport" content="width=1050" />
    <title>edit</title>
    <link rel="stylesheet" type="text/css" media="screen,print" href="media/css/personal_2.css" />

    <!--
    <script src="js/springweb.js" type="text/javascript" ></script>
    <script type="text/javascript" >
        setBasePath("js");                        
    </script>
    <script type="text/javascript" >

        function showDialog() {

            richAlert("您运气不错呀，这是我们的最新产品，欢迎体验～", "增强的消息框");

        }
            
    </script>

    -->
    <!--[if lt IE 8]><link rel='stylesheet' type='text/css' media='screen,print' href='media/css/personal_2IE.css'/><![endif]-->
    <!--[if gte IE 8]><link rel='stylesheet' type='text/css' media='screen,print' href='media/css/IE8.css'/><![endif]-->
      <style type="text/css">
          .style1
          {
          }
          .style2
          {
              width: 118px;
          }
          #noticeTextArea
          {
              width: 158px;
          }
      </style>
  </head>
  
  <body style="background: rgb(251, 251, 251); margin: 0pt; >
   <form id="logonForm" method="post" runat="server">
    <div style="text-align: center; ">
      <div style="margin-bottom: 0px; margin-left: auto; margin-right: auto; margin-top: 0px; overflow: hidden; position: relative; word-wrap: break-word;  text-align: left; width: 1050px; " id="body_content">
        <div style="background: transparent url(media/images/backgroundimage_1.jpg) no-repeat scroll center center; width: 1050px; ">
          <div style="float: left; margin-left: 0px; position: relative; width: 1050px; z-index: 0; " id="nav_layer">
            <div style="height: 0px; line-height: 0px; " class="bumper"> </div>
            <div style="clear: both; height: 0px; line-height: 0px; " class="spacer"> </div>
          </div>
          <div style="float: left; height: 0px; line-height: 0px; margin-left: 0px; position: relative; width: 1050px; z-index: 10; " id="header_layer">
            <div style="height: 0px; line-height: 0px; " class="bumper"> </div>
          </div>
          <div style="margin-left: 0px; position: relative; width: 1050px; z-index: 5; " id="body_layer">
            <div style="height: 0px; line-height: 0px; " class="bumper"> </div>
            <div style="height: 20px; width: 66px;  height: 20px; left: 922px; position: absolute; top: 41px; width: 66px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <img src="media/images/about.gif" alt="" style="border: none; height: 20px; width: 66px; " />
            </div>
            
            <div style="height: 20px; width: 66px;  height: 20px; left: 900px; position: absolute; top: 70px; width: 88px; z-index: 1; text-align: center;" 
                  class="tinyText style_SkipStroke stroke_0">
                <asp:LinkButton ID="userLinkButton" runat="server" PostBackUrl="~/profile.aspx">用户</asp:LinkButton>|
                <asp:LinkButton ID="logoutLinkButton" runat="server" PostBackUrl="~/logout.aspx">登出</asp:LinkButton>
            </div>

            <div style="height: 21px; width: 65px;  height: 21px; left: 772px; position: absolute; top: 40px; width: 65px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <img src="media/images/any.gif" alt="" style="border: none; height: 21px; width: 65px; " />
            </div>
            


            <div style="height: 21px; width: 66px;  height: 21px; left: 685px; position: absolute; top: 40px; width: 66px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <a href="friends.aspx" target="_self">
              <img src="media/images/friends.gif" alt="" style="border: none; height: 21px; width: 66px; " />
              </a>
            </div>
            


            <div style="height: 19px; width: 44px;  height: 19px; left: 620px; position: absolute; top: 41px; width: 44px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <a href="main.aspx" target="_self">
              <img src="media/images/main.gif" alt="" style="border: none; height: 19px; width: 44px; " />
              </a>
            </div>
            


            <div style="height: 19px; width: 41px;  height: 19px; left: 859px; position: absolute; top: 41px; width: 41px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <a href="link.aspx" target="_self">
              <img src="media/images/sns.gif" alt="" style="border: none; height: 19px; width: 41px; " />
              </a>
            </div>
            


            <div style="height: 49px; width: 224px;  height: 49px; left: 64px; position: absolute; top: 26px; width: 224px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <img src="media/images/logo.gif" alt="" style="border: none; height: 49px; width: 224px; " />
            </div>

            <div style="height: 456px; left: 397px; position: absolute; top: 92px; width: 605px; z-index: 1; " class="style_SkipStroke_1 shape-with-text stroke_1 shadow_0">

                    <asp:ScriptManager ID="ScriptManager1" runat="server">
                    </asp:ScriptManager>
                    <table style="height: 283px; margin-left: 20px; margin-top:20px; width: 581px;">
                        <tr>
                            <td class="style1" colspan="2">
                                <asp:Label ID="Label1" runat="server" Text="修改用户信息" Font-Bold="True" 
                                    Font-Size="Small"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="style2">*
                                <asp:Label ID="usernameLabel" runat="server" Text="用户名："></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="usernameTextBox" runat="server"  AutoPostBack="True" 
                                    ReadOnly="True" ></asp:TextBox>

                            </td>
                        </tr>
                        <tr>
                            <td class="style2">* 旧密码：</td>
                            <td>
                                <asp:TextBox ID="oldPasswordTextBox" runat="server" TextMode="Password" 
                                    AutoPostBack="True" ontextchanged="oldPasswordTextBox_TextChanged"></asp:TextBox>

                                <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <asp:Label ID="oldPasswordCheckLabel" runat="server" Font-Bold="True" 
                                            Font-Size="Small" ForeColor="Red"></asp:Label>
                                    </ContentTemplate>
                                    <Triggers>
                                        <asp:AsyncPostBackTrigger ControlID="oldPasswordTextBox" 
                                            EventName="TextChanged" />
                                    </Triggers>
                                </asp:UpdatePanel>

                            </td>
                        </tr>
                        <tr>
                            <td class="style2">*
                                <asp:Label ID="passwordLabel" runat="server" Text="新密码："></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="passwordTextBox" runat="server" Mode="Password"  AutoPostBack="True" 
                                    TextMode="Password" ontextchanged="passwordTextBox_TextChanged"></asp:TextBox>
                                <asp:UpdatePanel ID="passwordUpdatePanel" runat="server" 
                                    UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <asp:Label ID="passwordCheckLabel" runat="server" Font-Bold="True" 
                                            Font-Size="Small" ForeColor="Red"></asp:Label>
                                    </ContentTemplate>
                                    <Triggers>
                                        <asp:AsyncPostBackTrigger ControlID="passwordTextBox" EventName="TextChanged">
                                        </asp:AsyncPostBackTrigger>
                                    </Triggers>
                                </asp:UpdatePanel>
                            </td>
                        </tr>
                        <tr>
                            <td class="style2">*
                                <asp:Label ID="repeatPasswordLabel" runat="server" Text="重复新密码："></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="repeatPasswordTextBox" runat="server" TextMode="Password" 
                                    AutoPostBack="True" ontextchanged="repeatPasswordTextBox_TextChanged"></asp:TextBox>
                                <asp:UpdatePanel ID="repeatPasswordUpdatePanel" runat="server" 
                                    UpdateMode="Conditional">
                                    <ContentTemplate>
                                        <asp:Label ID="repeatPasswordCheckLabel" runat="server" Font-Bold="True" 
                                            Font-Size="Small" ForeColor="Red"></asp:Label>
                                    </ContentTemplate>
                                    <Triggers>
                                        <asp:AsyncPostBackTrigger ControlID="repeatPasswordTextBox" 
                                            EventName="TextChanged" />
                                    </Triggers>
                                </asp:UpdatePanel>
                            </td>
                        </tr>
                        <tr>
                            <td class="style2">*
                                <asp:Label ID="emailLabel" runat="server" Text="电子邮箱："></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="emailTextBox" runat="server" AutoPostBack="True" 
                                    ReadOnly="True" ></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="style2">
                                <asp:Label ID="sexLabel" runat="server" Text="性别："></asp:Label>
                            </td>
                            <td>
                                <asp:RadioButton ID="maleRadioButton" runat="server" Text="男" GroupName="SexRadio" Checked="True" />
                                &nbsp;&nbsp;
                                <asp:RadioButton ID="femaleRadioButton" runat="server" GroupName="SexRadio" Text="女" />
                            </td>
                        </tr>
                        <tr>
                            <td class="style2">
                                <asp:Label ID="locationLabel" runat="server" Text="地址："></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="locationTextBox" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="style2">
                                <asp:Label ID="hoppyLabel" runat="server" Text="兴趣:"></asp:Label>
                            </td>
                            <td>
                                <asp:TextBox ID="hoppyTextBox" runat="server"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="style2" >
                                &nbsp;</td>
                            <td>
                                        <br />
                                        <br />
                                        <asp:Button ID="registerButton" runat="server" Font-Bold="True" 
                                            Font-Size="Small" onclick="registerButton_Click" Text="用户修改" />
                                            &nbsp;
                                            <asp:Label ID="Label2" runat="server" Font-Bold="True" Font-Size="Small" 
                                            ForeColor="Red" Text="带*的为必填项"></asp:Label>
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td class="style2">
                                &nbsp;</td>
                            <td>
                            &nbsp;&nbsp;
                            </td>
                        </tr>
                        </table>

            </div>
           <!-- <div id="id1" style="height: 456px; left: 397px; position: absolute; top: 92px; width: 605px; z-index: 1; " class="style_SkipStroke_1 shape-with-text stroke_1 shadow_0">
              <div class="text-content graphic_shape_layout_style_default_External_603_454" style="padding: 1px; ">
                <div class="graphic_shape_layout_style_default">

                </div>
              </div>
            </div>
            -->
       


            <div style="height: 124px; width: 241px;  height: 124px; left: 164px; position: absolute; top: 438px; width: 241px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <img src="media/images/shadow.png" alt="" style="border: none; height: 124px; width: 241px; " />
            </div>
            


            <!--<div style="height: 650px; width: 1063px;  height: 650px; left: -6px; position: absolute; top: 0px; width: 1063px; z-index: 1; " class="tinyText style_SkipStroke stroke_0">
              <img src="media/images/boy.png" alt="" style="border: none; height: 650px; width: 1063px; " />
            </div>
            -->
            
            <div style="height: 650px; line-height: 650px; " class="spacer"> </div>
          </div>
          <div style="height: 0px; line-height: 0px; margin-left: 0px; position: relative; width: 1050px; z-index: 15; " id="footer_layer">
            <div style="height: 0px; line-height: 0px; " class="bumper"> </div>
          </div>
        </div>
      </div>
    </div>
   </form>
  </body>
</html>



